<?php
interface Zend_Nosql_Mongo_Document_Interface
    extends Zend_Nosql_Mongo_Object_Interface {
    public function __construct($data, Zend_Nosql_Mongo_Collection $collection) {}
         
    public function getId() {}
    public function getCollection() {}
     
    public function save() {}
     
    public function isChanged() {}
    public function commit() {}
     
    //and functions for atomic operations
}
?>